package com.ms.dsq_english.http;

import com.ms.dsq_english.model.AllBean;
import com.ms.dsq_english.model.AreaBean;
import com.ms.dsq_english.model.PartSalesBean;
import com.ms.dsq_english.model.SalesBean;
import com.ms.dsq_english.model.StoreBean;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

public interface HttpInterface
{

    //销售数据统计
    @GET("cockpit/tv-wall/region-sale")
    Observable<SalesBean> getSales(@QueryMap Map<String, String> params);

    //门店覆盖统计
    @GET("cockpit/tv-wall/region-cover")
    Observable<StoreBean> getStore(@QueryMap Map<String, String> params);

    //区域覆盖统计
    @GET("cockpit/tv-wall/region-output")
    Observable<AreaBean> getArea(@QueryMap Map<String, String> params);

    //全区销售数据统计
    @GET("cockpit/tv-wall/region-partition")
    Observable<AllBean> getRegion(@QueryMap Map<String, String> params);

    //全区销售数据统计
    @GET("cockpit/tv-wall/region-active")
    Observable<PartSalesBean> getPartSales(@QueryMap Map<String, String> params);

}
